<include file="header1" />
<body>
<div class="wraper">
	 <div class="load">
        <img class="load-bee" src="/assets/base/studentair/images/load-bee.png">

    </div>
	<div class="head clearfix">
		<a href="/base/studentAir/backDesc" class="pull-right text-right small-text">退款说明</a>
		<span class="head-name pull-right">押金退还申请</span>
	</div>

	<if condition="$info['status'] eq 0">
		<p class="field tips">押金退还申请等待确认中...</p>
	</if>

	<if condition="$info['status'] eq 1">
		<p class="field tips">押金退还申请发起成功</p>
	</if>

	<if condition="$info['status'] eq 2">
		<p class="field tips">押金退还申请失败</p>
	</if>

	<if condition="$info['status'] eq 0">
		<p class="form-list text-center margin-top">申请退还押金：<span class="price big-price">{BEESCRM:$info.order_price}</span>元<br/>
			请于{BEESCRM:$info.end_time|date="Y-m-d H:i",###} 前完成确认，超时需重新申请！</p>
	</if>

	<if condition="$info['status'] eq 1">
		<p class="form-list text-center margin-top">申请退还押金：<span class="price big-price">{BEESCRM:$info.order_price}</span>元<br/>
			请申请人于08.24 16:00点前领取你们寝室的空调押金，<br/>
			并将押金退还给你的室友.</p>
	</if>

	<if condition="$info['status'] eq 2">
		<p class="form-list text-center margin-top">申请退还押金：<span class="price big-price">{BEESCRM:$info.order_price}</span>元<br/>
			由于{BEESCRM:$info.fail_reason},申请失败<br/>
			</p>
	</if>

	<div class="lists proposer margin-top">
		<div class="tb-mode border-btm">
			<if condition="$info['status'] eq 0">
				<div class="tb-cell">
					<p class="big-red">等待室友确认</p>
					<p class="stress">{BEESCRM:$agree}人确认同意，剩余{BEESCRM:$wait}人等待确认...</p>
				</div>

			<div class="tb-cell">
				<a href="/base/studentAir/backStatus/back_order_id/{BEESCRM:$info.back_order_id}/wechat_id/{BEESCRM:$wechat_id}" class="btn">刷新</a>
			</div>
			</if>
		</div>
		<!--<p class="big-green">等待室友确认</p>
		<p class="stress">2人确认同意，剩余1人等待确认...</p>-->
		<div class="tb-mode ziduan">
			<p class="tb-cell first">姓名</p>
			<p class="tb-cell second">学号</p>
			<p class="tb-cell third">手机号</p>
			<p class="tb-cell forth">状态</p>
		</div>
		<div class="tb-mode">
			<p class="tb-cell first">{BEESCRM:$info.username}</p>
			<p class="tb-cell second">{BEESCRM:$info.student_num}</p>
			<p class="tb-cell third">{BEESCRM:$info.mobile}</p>
			<p class="tb-cell forth blue">发起人</p>
		</div>
		<volist name="joinInfo" id="vo">
		<div class="tb-mode">
			<p class="tb-cell first">{BEESCRM:$vo.username}</p>
			<p class="tb-cell second">{BEESCRM:$vo.student_num}</p>
			<p class="tb-cell third">{BEESCRM:$vo.mobile}</p>

			<if condition="$vo['status'] eq 0">
				<p class="tb-cell forth">待确认</p>
			</if>

			<if condition="$vo['status'] eq 1">
				<p class="tb-cell forth green">已同意</p>
			</if>

			<if condition="$vo['status'] eq 2">
				<p class="tb-cell forth" style="color: red;">不同意</p>
			</if>

		</div>
		</volist>
	</div>

	<div class="btn-box clearfix">
		<!--<if condition="$info['status'] eq 0">
			<a href="javascript:void(0)" class="cp-btn btn" data-url="http://wap.xt.beescrm.com/base/studentAir/backConfirm/back_order_id/{BEESCRM:$back_order_id}/wechat_id/{BEESCRM:$wechat_id}">复制链接邀请室友确认</a>
		</if>-->
		<if condition="$info['status'] eq 3">
			<a href="/base/studentAir/index/wechat_id/{BEESCRM:$info.wechat_id}" class="btn" id="sure">返回首页</a>
		</if>
		<if condition="$info['status'] eq 2 ">
			<a href="/base/studentAir/index/wechat_id/{BEESCRM:$info.wechat_id}" class="btn">重新发起</a>
		</if>
	</div>

	<div class="bottom-box">
		<p class="copyright">杭州青橄榄网络技术有限公司 技术支持</p>
		<div class="banner">
			<div class="swiper-container">
				<div class="swiper-wrapper">
					<div class="swiper-slide"><a href="#"><img src="/assets/base/studentair/images/adds.jpg"></a></div>
					<div class="swiper-slide"><a href="#"><img src="/assets/base/studentair/images/adds.jpg"></a></div>
					<div class="swiper-slide"><a href="#"><img src="/assets/base/studentair/images/adds.jpg"></a></div>
				</div>
				<div class="swiper-pagination"></div>
			</div>
		</div>
	</div>
	</div>
</div>
<include file="commonJs" />
<script>
	var height = $(window).height();
	var bottombox_height = $('.bottom-box').outerHeight();
	$('.wraper').css("minHeight",height);
	$('.wraper').css("paddingBottom",bottombox_height);

	$(window).load(function(){
		$('.load').hide();
	})
	$(function(){
		$('.xieyi').click(function(){
			$(this).find('.iconfont').toggleClass('icon-xuanzedianjihou');
		})
	})
	var swiper = new Swiper('.banner .swiper-container', {
		pagination: '.banner .swiper-pagination',
		paginationClickable: true,
		spaceBetween: 30,
		centeredSlides: true,
		autoplay: 2500,
		autoplayDisableOnInteraction: false
	});

	/*$(function(){
		$('.cp-btn').zclip({
			path: "/assets/base/studentair/copy/ZeroClipboard.swf",
			copy: function(){
				return $(this).data('url');
			}
		});
	});*/
</script>
</body>
</html>
